package com.xiaogao.sys.response;

import com.xiaogao.common.entity.BaseResponse;
import com.xiaogao.common.utils.tree.TreeNode;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.lang.String;
import java.util.ArrayList;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class SysDeptResponse extends BaseResponse implements TreeNode<SysDeptResponse>{
    private String id;
    private String parentId;
    private String name;
    private Integer sort;
    private String leaderId;
    private String remark;

    private String leaderUsername;
    private String leaderRealName;

    private List<SysDeptResponse> children = new ArrayList<>();
}
